package microframe.manager
{
	import microframe.model.ContentsData;

	/**
	 * @author winnie
	 */	
	public class ContentsTypeManager
	{
		
		//-----------------------------------------------------------------------------------
		//
		// 컨텐츠
		//
		//-----------------------------------------------------------------------------------
		
		
		/** 인덱스 **/
		public static const INDEX : String = "인덱스";
		
		/** 인트로 **/
		public static const INTRO : String = "인트로";
		
		/** 메인 - 로고 클릭시 들어오는 부분 **/
		public static const MAIN : String = "메인";
		
		
		//-----------------------------------------------------------------------------------
		//
		// 서브 컨텐츠 등록
		// 
		// ------------------------------------------------
		//
		// 아래 메서드 안에 등록을 같이 해줄 것.
		// public static function get typeSubList():Vector.<String>
		// 		if( _pageList.length == 0 )
		// 		{
		//			_pageList.push( SUB_0 );
		//	 	}
		//
		// ★★★주의 - 주석 필수★★★
		// ex ) /** 로그인 아이디 **/
		//
		//-----------------------------------------------------------------------------------
		
		public static const HIGHTOP_0 : String = "하이탑소개";
		public static const HIGHTOP_1 : String = "수상내역";
		public static const HIGHTOP_2 : String = "일등예감&사회익연사인&수학제패 제품소개";
		
		public static const FUNFUN_0 : String = "힘/운동&전기/자기&빛/파동&과학";
		public static const FUNFUN_1 : String = "과학수업";
		public static const FUNFUN_2 : String = "과학 BOOK LIST";
		
		public static const BOARD_0 : String = "마니아";
		public static const BOARD_1 : String = "질문이요";
		public static const BOARD_2 : String = "우리끼리";
		
		public static const EVENT_0_0 : String = "사이트오픈기념이벤트";
		public static const EVENT_0_1 : String = "대상수상기념이벤트";
		public static const EVENT_1 : String = "NASA 체험 이벤트";
		
		
		private static var _pageList : Vector.<ContentsData> = new Vector.<ContentsData>();
		
		/**
		 * @return 서브 컨텐츠 리스트 
		 */		
		public static function get pageList():Vector.<ContentsData>
		{
			if( _pageList.length == 0 )
			{
				_pageList.push( new ContentsData( MAIN, null ) );
				
				_pageList.push( new ContentsData( HIGHTOP_0, null ) );
				_pageList.push( new ContentsData( HIGHTOP_1, null ) );
				_pageList.push( new ContentsData( HIGHTOP_2, null ) );
				
				_pageList.push( new ContentsData( FUNFUN_0, null ) );
				_pageList.push( new ContentsData( FUNFUN_1, null ) );
				_pageList.push( new ContentsData( FUNFUN_2, null ) );
				
				_pageList.push( new ContentsData( BOARD_0, null ) );
				_pageList.push( new ContentsData( BOARD_1, null ) );
				_pageList.push( new ContentsData( BOARD_2, null ) );
				
				_pageList.push( new ContentsData( EVENT_0_0, null ) );
				_pageList.push( new ContentsData( EVENT_0_1, null ) );
				_pageList.push( new ContentsData( EVENT_1, null ) );
			}
			
			return  _pageList;
		}
		
		/**
		 * ContentsTypeManager
		 */		
		public function ContentsTypeManager()
		{
			
		}
	}

}








